# -*- coding : utf_8 -*-
'''
=======================================
Time : 2025/4/2 23:21
Author : 田霄汉
Email : 522989570@qq.com
File : study.py
Project : unittest_demo
=======================================
'''
import jsonpath
import requests

url = 'http://japi.juhe.cn/qqevaluate/qq'
data = {
    'key': 'f21f5dff0f9847b71def0b604147d31c',
    'qq': '522989570'
}
headers = {
    'Content-Type': 'application/x-www-form-urlencoded'
}
res = requests.post(url=url, data=data, headers=headers)
print(type(res.json()))
print(jsonpath.jsonpath(res.json(), '$..conclusion')[0])